html {
    height: 100%;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: '微软雅黑';
}

/* header */

header .nav {
    height: 1.066667rem;
    padding: .133333rem;
    background: #ff841d;
    font-size: .533333rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .nav a:nth-of-type(1) img {
    margin-left: .266667rem;
    width: 4.933333rem;
    height: .666667rem;
}

header .nav a:nth-of-type(2) img {
    width: .906667rem;
    padding: .186667rem;
}

header .search {
    padding: .266667rem;
    position: relative;
}

header .search input {
    width: 8.533333rem;
    height: .8rem;
    font-size: .373333rem;
    margin-left: .453333rem;
    border: 0;
    background: #f1f1f1;
    padding-left: .4rem;
    border-radius: .4rem;
}

header .search button {
    width: 1.6rem;
    height: .8rem;
    font-size: .373333rem;
    position: absolute;
    top: .266667rem;
    right: 10px;
    background: #ff841d;
    border: 0;
    color: #fff;
    border-radius: .4rem;
}

header .backup {
    padding-left: .133333rem;
    margin-bottom: .266667rem;
    border-top: .026667rem solid #ccc;
    background-image: linear-gradient(to bottom, #fff, #ccc);
}

header .backup a {
    display: inline-block;
    font-size: .373333rem;
    line-height: 1.013333rem;
    color: #666;
}

header .rank {
    font-size: .373333rem;
    line-height: 1.066667rem;
    color: #333;
    background: #f4f4f4;
    padding-left: .213333rem;
    margin-bottom: .266667rem;
    border-top: .026667rem solid #ccc;
    border-bottom: .026667rem solid #ccc;
}

header>span {
    position: absolute;
}

header>span::before {
    content: '';
    display: block;
    position: fixed;
    left: 3.6rem;
    top: 40%;
    font-size: 2.666667rem;
    color: #ccc;
    animation: rotate1 3s linear infinite;
}

@keyframes rotate1 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(1080deg);
    }
}

/* main */

#main {
    flex: 1;
}

#main .main-title .main-title-top {
    display: flex;
    justify-content: space-between;
    background: #f5f5f5;
    padding: .266667rem .4rem;
    border: .026667rem solid #ddd;
    border-radius: .133333rem;
    margin: 0 .026667rem;
}

#main .main-title .main-title-top span {
    font-size: .426667rem;
    color: #333;
}

#main .main-title ul {
    height: 0;
    overflow: hidden;
    transition: height 0.4s linear;
}

#main .main-title ul .main-title-content .item {
    display: block;
    padding: .266667rem .4rem 0;
    border: .026667rem solid #ccc
}

#main .main-title ul .main-title-content .item span {
    display: inline-block;
    font-size: .48rem;
    line-height: .666667rem;
    color: #333;
}

#main .main-title ul .main-title-content .item span:nth-of-type(1) {
    width: .666667rem;
    text-align: center;
    color: #fff;
    background: #ccc;
    margin-right: .4rem;
}

#main .main-title ul .main-title-content .item p {
    font-size: .373333rem;
    line-height: .8rem;
    color: #999;
    margin-top: .266667rem;
}

#main>.main-title>ul>.main-title-content:nth-of-type(1)>.item span:nth-of-type(1) {
    background: red;
}

#main>.main-title>ul>.main-title-content:nth-of-type(2)>.item span:nth-of-type(1) {
    background: #ffa500;
}

#main>.main-title>ul>.main-title-content:nth-of-type(3)>.item span:nth-of-type(1) {
    background: #0f0;
}

/* footer */

footer {
    height: 2.5056rem;
    background: #efefef;
    margin-top: .533333rem;
}

footer .footer-top ul {
    height: .864rem;
    border-width: .026667rem 0;
    border-style: solid;
    border-color: #d9d9d9;
}

footer .footer-top ul li {
    float: left;
}

footer .footer-top ul li:nth-of-type(2) {
    border-width: 0 .026667rem;
    border-style: solid;
    border-color: #d9d9d9;
}

footer .footer-top ul li a {
    display: block;
    font: .432rem/.864rem "";
    color: #2e2e2e;
    padding: 0 .933333rem;
}

footer .footer-top ul li a span {
    font: .432rem/.864rem "";
}

footer .footer-bottom {
    text-align: center;
    margin-top: .432rem;
    font: .3456rem/.432rem "";
    color: #767676;
}

footer .footer-bottom a, footer .footer-bottom span {
    display: inline-block;
}

footer .footer-bottom a {
    color: red;
}

footer .footer-bottom span:nth-of-type(1) {
    color: #000;
}
